﻿function UserController($scope, service, $routeParams, $location) {

    //Get the user list by API and AJAX
    $.get('api/User', function(data) {
        $scope.users = data;
        $scope._update($scope);
    });
}